package com.kt.domain;

import java.io.Serializable;

public class Order implements Serializable {
    private Integer oid;
    private Double price;
    private Integer num;
    // 订单状态
    private Integer state;
    private Integer uid;
//    private Integer tid;
    private Integer pid;

    public Order() {
    }

    public Order(Integer oid, Double price, Integer num, Integer state, Integer uid, Integer pid) {
        this.oid = oid;
        this.price = price;
        this.num = num;
        this.state = state;
        this.uid = uid;
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oid=" + oid +
                ", price=" + price +
                ", num=" + num +
                ", state=" + state +
                ", uid=" + uid +
                ", pid=" + pid +
                '}';
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
}
